package com.longjianghuasheng.logistics.business.inquiry

import android.os.Parcelable
import com.chad.library.adapter.base.entity.MultiItemEntity
import com.chad.library.adapter.base.entity.node.BaseExpandNode
import com.chad.library.adapter.base.entity.node.BaseNode

const val TYPE_0 = 0
const val TYPE_1 = 1
const val TYPE_2 = 2

data class ServiceSelectionEntity(
    var title: String? = "",
    var isSelect: Boolean? = false,
    override val itemType: Int,
) : MultiItemEntity

data class ServiceSelectionResponse(
    var title: String? = "",
    var list: List<ServiceSelectionResponse>? = listOf()
)

data class FirstNode(
    var title: String? = "",
    var nodes: MutableList<BaseNode>? = mutableListOf(),
    var isSelect: Boolean = false,
    override val childNode: MutableList<BaseNode>? = nodes
) : BaseExpandNode()

data class SecondNode(
    var title: String? = "",
    var nodes: MutableList<BaseNode>? = mutableListOf(),
    var isSelect: Boolean = false,
    override val childNode: MutableList<BaseNode>? = nodes
) : BaseExpandNode()


data class ThirdNode(
    var title: String? = "",
    var id: Int? = 0,
    var nodes: MutableList<BaseNode>? = mutableListOf(),
    var isSelect: Boolean = false,
    override val childNode: MutableList<BaseNode>? = null
) : BaseNode()



